<html>
<head>
<title>Propriedade Value</title>
<link rel="stylesheet" href="HiperTools.css" type="text/css">
<style type="text/css">
 p { margin-top: 0; margin-bottom: 0; }
</style>
<script language="JavaScript" src="TrueHelp.js"></script>
</head>
<body onload="thload()">
<div id=ienav>
<ilayer id=nsnav>
<br>
<center>
<p class=normal><a href="HiperTools30-toc.htm" target="left">contents</a> &nbsp; <a href="HiperTools30-index.htm" target="left">index</a> &nbsp; <a href="TH_285.htm">previous</a> &nbsp; next</p>
</center>
<br>
<hr noshade size=1>
</ilayer>
</div>
<p class=propriedades>Propriedade Value</p>
<p class=heading-1>Descri&#231;&#227;o</p>
<p class=heading-1-p>&nbsp;</p>
<p class=body-text-indent-3>Especifica o valor do item do Pack.</p>
<p class=body-text-indent-3-p>&nbsp;</p>
<p class=heading-1>Sintaxe</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal><i>objeto</i>.<b>Value </b>[=<i>Variant</i>]</p>
<p class=body-text-indent-3>O argumento <i>objeto</i> sempre ser&#225; o objeto <i>PackItem</i>.</p>
<p class=body-text-indent-3-p>&nbsp;</p>
<p class=heading-1>Coment&#225;rios</p>
<p class=heading-1-p>&nbsp;</p>
<p class=body-text-indent-3>O c&#243;digo abaixo ilustra o uso da propriedade <b>Value</b>.</p>
<p class=body-text-indent-3-p>&nbsp;</p>
<p class=heading-1>Exemplo</p>
<p class=heading-1-p>&nbsp;</p>
<p class=preformatted>Dim&nbsp;Pack,&nbsp;Item</p>
<p class=preformatted>Set&nbsp;Pack&nbsp;=&nbsp;Server.CreateObject("HiperTools30.Pack")</p>
<p class=preformatted>&nbsp;</p>
<p class=preformatted>Pack.Add&nbsp;"Table0",&nbsp;"Pedidos"</p>
<p class=preformatted>&nbsp;</p>
<p class=preformatted>Set&nbsp;Item&nbsp;=&nbsp;Pack("Table0")&nbsp;&#8216;Aqui&nbsp;se&nbsp;referencia&nbsp;o&nbsp;PackItem</p>
<p class=preformatted>&nbsp;</p>
<p class=preformatted>Pack("Table0")&nbsp;=&nbsp;"PedidosAlt"</p>
<p class=preformatted>Pack.Item(1).<b>Value</b>&nbsp;=&nbsp;"PedidosAlt"</p>
<p class=preformatted>&nbsp;</p>
<p class=preformatted>Response.Write&nbsp;"&lt;BR&gt;"&nbsp;&amp;&nbsp;Item.<b>Value</b></p>
<p class=preformatted>&nbsp;</p>
<p class=preformatted>Retorna:&nbsp;&lt;BR&gt;PedidosAlt</p>
<p class=preformatted>&nbsp;</p>
<p class=heading-1>Aplica-se </p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>PackItem</p>
<p class=heading-1>Veja tamb&#233;m</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>Pack.Item, Pack.Add</p>
<p>
</body>
</html>